package com.haojin.haojintimingmonitor.service.impl;

import com.haojin.haojintimingmonitor.domain.AlarmLog;
import com.haojin.haojintimingmonitor.mapper.AlarmLogMapper;
import com.haojin.haojintimingmonitor.service.AlarmLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlarmLogServiceImpl implements AlarmLogService {
    @Autowired
    private AlarmLogMapper alarmLogMapper;

    @Override
    public AlarmLog getRecentAlarmLog() {
        return alarmLogMapper.selectRecentAlarmLog();
    }
}
